How Artificial Intelligence Imitates Human Emotions